﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Grocer.Master" CodeBehind="Categories.aspx.cs" Inherits="EasyGrocer.UI.Categories" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="head">
</asp:Content>
    
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <center><asp:Label ID="Label1" runat="server" CssClass="mainTitle" Text="Search For Items"></asp:Label></center>
    <asp:DataList ID="DataList1" runat="server" RepeatColumns="3" RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False">
        <ItemTemplate>
            <asp:Button CssClass="bigButton" ID="CategoryButton"  runat="server" commandArgument='<%#DataBinder.Eval(Container.DataItem, "ID")%>'  Text='<%# Eval("Name") %>'/>
        </ItemTemplate>
    </asp:DataList>

<%@ Register TagPrefix="searchBox" TagName="links" src="SearchBox.ascx" %>
<div class="Search"><searchBox:links id="links1" runat="server"/></div>
</asp:Content>